// const dayjs = require('dayjs');
var express = require('express');
var router = express.Router();

const setUserRouter = require('./subRouters/userRouter');
const setCustomerRouter = require('./subRouters/customerRouter');
const setMaterialRouter = require('./subRouters/materialRouter');
const setWorkorderRouter = require('./subRouters/workorderRouter');

const setWorkProcedureRouter = require('./subRouters/workProcedureRouter');
const setWorkCollectionRouter = require('./subRouters/workCollectionRouter');

const setMatWorkCollectionRouter = require('./subRouters/matWorkProcedureRouter');

const setUploadFileRouter = require('./subRouters/fileRouters/uploadFileRouter');
const setDeleteFileRouter = require('./subRouters/fileRouters/deleteFileRouter');

setUserRouter(router);
setCustomerRouter(router);
setMaterialRouter(router);
setWorkorderRouter(router);

setWorkProcedureRouter(router);
setWorkCollectionRouter(router);

setMatWorkCollectionRouter(router);

setUploadFileRouter(router);
setDeleteFileRouter(router);

module.exports = router;
